//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Peabo Bryson','Thornton Winery','Temecula, CA','Saturday','5/18/2024','7:00 PM','6412935','Peabo-Bryson-5-18-2024'],['Kevin James Thornton','City Winery - Boston','Boston, MA','Thursday','5/23/2024','7:30 PM','6337640','Kevin-James-Thornton-5-23-2024'],['Gerald Albright','Thornton Winery','Temecula, CA','Saturday','5/25/2024','7:00 PM','6412924','Gerald-Albright-5-25-2024'],['Kevin James Thornton','The Loft At City Winery - New York City','New York, NY','Sunday','5/26/2024','6:30 PM','6376944','Kevin-James-Thornton-5-26-2024'],['Damien Escobar ','Thornton Winery','Temecula, CA','Saturday','6/1/2024','7:00 PM','6296320','Damien-Escobar--6-1-2024'],['Kenny Metcalf As Elton','Thornton Winery','Temecula, CA','Friday','6/7/2024','6:30 PM','6379767','Kenny-Metcalf-As-Elton-6-7-2024'],['Norman Brown','Thornton Winery','Temecula, CA','Saturday','6/8/2024','7:00 PM','6294489','Norman-Brown-6-8-2024'],['BIG - Brothers Igniting a Groove','Thornton Winery','Temecula, CA','Friday','6/14/2024','6:30 PM','6383986','BIG---Brothers-Igniting-a-Groove-6-14-2024'],['Woodie and the Longboards - Beach Boys and Surf Tribute','Thornton Winery','Temecula, CA','Friday','6/28/2024','6:30 PM','6379771','Woodie-and-the-Longboards---Beach-Boys-and-Surf-Tribute-6-28-2024'],['Najee & Keiko Matsui','Thornton Winery','Temecula, CA','Saturday','7/6/2024','7:00 PM','6328851','Najee---Keiko-Matsui-7-6-2024'],['24K Magic - Bruno Mars Tribute','Thornton Winery','Temecula, CA','Friday','7/12/2024','6:30 PM','6379768','24K-Magic---Bruno-Mars-Tribute-7-12-2024'],['Peter White','Thornton Winery','Temecula, CA','Saturday','7/20/2024','7:00 PM','6294490','Peter-White-7-20-2024'],['Kevin James Thornton','City Winery - Atlanta','Atlanta, GA','Thursday','7/25/2024','6:30 PM','6337638','Kevin-James-Thornton-7-25-2024'],['Kevin James Thornton','City Winery - Atlanta','Atlanta, GA','Thursday','7/25/2024','9:30 PM','6337639','Kevin-James-Thornton-7-25-2024'],['Eagles Ronstadt Experience','Thornton Winery','Temecula, CA','Friday','7/26/2024','6:30 PM','6379769','Eagles-Ronstadt-Experience-7-26-2024'],['Richard Elliot & Rick Braun','Thornton Winery','Temecula, CA','Saturday','7/27/2024','7:00 PM','6328852','Richard-Elliot---Rick-Braun-7-27-2024'],['BIG - Brothers Igniting a Groove','Thornton Winery','Temecula, CA','Friday','8/2/2024','6:30 PM','6383987','BIG---Brothers-Igniting-a-Groove-8-2-2024'],['Eric Benet','Thornton Winery','Temecula, CA','Saturday','8/3/2024','7:00 PM','6294487','Eric-Benet-8-3-2024'],['Siempre Selena - Selena Tribute Show','Thornton Winery','Temecula, CA','Friday','8/16/2024','6:30 PM','6379770','Siempre-Selena---Selena-Tribute-Show-8-16-2024'],['Average White Band','Thornton Winery','Temecula, CA','Saturday','8/24/2024','7:00 PM','6300889','Average-White-Band-8-24-2024'],['Prince Again - A Tribute To Prince','Thornton Winery','Temecula, CA','Friday','9/6/2024','6:30 PM','6379784','Prince-Again---A-Tribute-To-Prince-9-6-2024'],['Chris Botti','Thornton Winery','Temecula, CA','Saturday','9/7/2024','7:00 PM','6294486','Chris-Botti-9-7-2024'],['Twisted Gypsy - Fleetwood Mac Tribute','Thornton Winery','Temecula, CA','Friday','9/13/2024','6:30 PM','6379783','Twisted-Gypsy---Fleetwood-Mac-Tribute-9-13-2024'],['Jeffrey Osborne','Thornton Winery','Temecula, CA','Saturday','9/21/2024','7:00 PM','6294488','Jeffrey-Osborne-9-21-2024'],['Boney James','Thornton Winery','Temecula, CA','Saturday','9/28/2024','7:00 PM','6302158','Boney-James-9-28-2024'],['Vegas McGraw - Tim McGraw Tribute Show','Thornton Winery','Temecula, CA','Friday','10/4/2024','6:30 PM','6422806','Vegas-McGraw---Tim-McGraw-Tribute-Show-10-4-2024'],['Eric Darius, Marcus Anderson, Julian Vaughn & Lin Rountree','Thornton Winery','Temecula, CA','Saturday','10/5/2024','7:00 PM','6378101','Eric-Darius--Marcus-Anderson--Julian-Vaughn---Lin-Rountree-10-5-2024'],['Brian Culbertson','Thornton Winery','Temecula, CA','Saturday','10/12/2024','7:00 PM','6302159','Brian-Culbertson-10-12-2024'],['Candy Dulfer','Thornton Winery','Temecula, CA','Sunday','10/13/2024','7:00 PM','6414777','Candy-Dulfer-10-13-2024'],['BIG - Brothers Igniting a Groove','Thornton Winery','Temecula, CA','Friday','10/18/2024','6:30 PM','6383988','BIG---Brothers-Igniting-a-Groove-10-18-2024']],'Thornton Winery','http://www.ticketnetwork.com/ticket/Thornton-Winery-events.aspx');